package servicepackage;

public class AdminELService_Driver {
	public void drive(AdminELService adminELService){
		ResultMessage result = adminELService.addMember(0001);
		File planFile = new File("Client\educationPlan");
		if(result == ResultMessage.Exist)
			System.out.println("Member exists\n");
		else
			System.out.println("Member failed\n");
		adminELService.addFrame(planFile);
		if(planFile.Success)
			System.out.println("Add Success");
		adminELService.CheckChoose("SoftwareAcademy");
		
		adminELSevrice.ManageChoose();
		
		adminELSevrice.GlobelClass();
		
		adminELSevrice.ArrangeTime();
	}
}

public class Client{
	public static void main(String args[]){
		AdminELService adminController = new AdminELController();
		AdminELService_Driver driver = new AdminELService_Driver (adminController);
		driver.drive(adminController);
	}
}